1
general::
Also, flip one's wig;flip out. React very strongly or wildly, as with anger, surprise, or excitement; also, go crazy. For example, I'm going to flip my lid if he doesn't show up, or She really flipped out when she realized that she had won first prize, or I think Rob has flipped his wig. These slangy expressions, with their allusion to losing the top of one's head, date from the 1930s and 1940s.
American Heritage Idioms